package io.noties.markwon.base.image.size

import android.graphics.Rect
import io.noties.markwon.base.image.AsyncDrawable

/**
 * @see ImageSizeResolverDef
 *
 * @see
 * @since 1.0.1
 */
interface ImageSizeResolver {
    /**
     * @since 4.0.0
     */
    abstract fun resolveImageSize(drawable: AsyncDrawable): Rect
}